<?php

namespace common\models\clinic;

use Yii;

/**
 * This is the model class for table "{{%clinic_project_bind}}".
 *
 * @property int $id
 * @property int $clinic_project_id 治疗项目ID
 * @property int $treatment_room_id 治疗室ID
 * @property int $created_at 添加时间
 * @property int $updated_at 更新时间
 */
class ProjectBind extends \common\models\BaseModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%clinic_project_bind}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['clinic_project_id', 'treatment_room_id', 'created_at', 'updated_at'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'clinic_project_id' => '治疗项目ID',
            'treatment_room_id' => '治疗室ID',
            'created_at' => '添加时间',
            'updated_at' => '更新时间',
        ];
    }
}
